package com.liang.pcc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 设备信息表
 */
@TableName(value ="device_info")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeviceInfo {

    /**
     * 设备唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 名称配置
     */
    @TableField(value = "config_name")
    private String configName;

    /**
     * D5000系统名称
     */
    @TableField(value = "d5000_name")
    private String d5000Name;

    /**
     * 可选描述字段
     */
    @TableField(value = "description")
    private String description;

    /**
     * 关联Excel文件
     */
    @TableField(value = "file_id")
    private Long fileId;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;
}